LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 06-07-2012, 02:07 PM   #1
vishwasungal
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
[GDB] Thread local data structure from linux core dump


How do i get pointer to thread's local storage or thread local data structure while analyzing core dump for Linux ?

i use pthread_setspecific to store some data in the pthread's local storage.

my multi threaded program on linux crashed, and i want to see what is stored in current running thread's local storage.

If i get pointer to thread's local storage i can use key to get the data that is stored.

Is there a command in gdb to get the pointer to thread's local storage?
 
Old 06-07-2012, 02:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Core dump analyzing by gdb igalch Linux - Newbie 5 07-01-2013 04:04 AM
Extracting thread information from core dump using gdb/anytool Linux_Kid_ Linux - Software 1 07-23-2010 03:14 AM
display data structure using gdb vishesh Linux - Kernel 0 04-14-2009 09:16 AM
gdb & core dump Alexlun Programming 4 04-03-2009 10:35 AM
where are core dump files and how to analyse them using gdb manish.chauhan Linux - Software 1 11-21-2007 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration